package com.qianfeng.openapi.web.master.bean;

import com.fasterxml.jackson.annotation.JsonInclude;

public class ResultVO {

    private Integer status = 0;

    private String message = "";

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long total;

    private Object data;

    public ResultVO() {
    }

    public ResultVO(Integer status, String message) {
        this.status = status;
        this.message = message;
    }

    public ResultVO(Integer status, String message, Object data) {
        this.status = status;
        this.message = message;
        this.data = data;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }



}
